<!DOCTYPE html>
<html>
 <head>
  <meta charset="UTF-8"/>
  <meta name="author" content="Cassie">
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
  <meta name="keywords" content="layabox"/>
  <meta name="description" content="layabox"/>
  <title>Layabox-index</title>
  <link rel="stylesheet" href="./css/header.css"/>
  <link rel="stylesheet" href="./css/index.css">
  <!-- 引入bootstrap -->
  <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"/>
  <link rel="stylesheet" href="css/jquery.mCustomScrollbar.css">
  <style>
     #content{
            /* 内容区域高度自适应 */
        
            width: 100%; 
            height: 100%;

        }
        .mCS-dark-thin.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ 
            width: 4px;
            background-color: red!important; 
            }
.mCS-dark-thin.mCSB_scrollTools .mCSB_draggerRail{
     background-color: white; 
     } 



  </style>
 </head>
 <body>
    <div id="content">
      <!-- nav start -->
      <nav class="navbar navbar-default navbar-inverse">
         <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
               <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#myNav" aria-expanded="false">
               <span class="icon-bar"></span>
               <span class="icon-bar"></span>
               <span class="icon-bar"></span>
               </button>
               <a class="navbar-brand" href="#"><img src="./images/common/logo.png" class="img-responsive"></a>
            </div>
         
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="myNav">
               <ul class="nav navbar-nav">
               <li class="active"><a href="#">首页</a></li>
               <li><a href="#">Laya家族</a></li>
               <li><a href="#">游戏</a></li>
               <li><a href="#">新闻动态</a></li>
               <li><a href="#">开发者中心</a></li>
               <li><a href="#">开发者社区</a></li>
               <li><a href="#">开放平台</a></li>
               <li><a href="#">关于我们</a></li>
               </ul>
               <ul class="nav navbar-nav navbar-right language">
                  <li class="dropdown">
                     <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">语言<span class="caret"></span></a>
                     <ul class="dropdown-menu">
                           <li><a href="#">中文</a></li>
                           <li><a href="#">英文</a></li>
                     </ul>
                  </li>
               </ul>
            </div><!-- /.navbar-collapse -->
         </div><!-- /.container-fluid -->
      </nav>
      <!-- banner start -->
      <div class="banner">
         <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
            <ol class="carousel-indicators">
               <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
               <li data-target="#carousel-example-generic" data-slide-to="1"></li>
               <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            </ol>
            <!-- Wrapper for slides -->
            <div class="carousel-inner" role="listbox">
               <div class="item active">
                  <img src="./images/common/banner.jpg" alt="" class="img-responsive">
                  
               </div> 
               <div class="item">
                  <img src="./images/common/banner.jpg" alt="" class="img-responsive">
                  
               </div> 
               <div class="item">
                  <img src="./images/common/banner.jpg" alt="" class="img-responsive">
               </div> 
            </div>
            <!-- Controls -->
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
               <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
               <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
               <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
               <span class="sr-only">Next</span>
            </a>
         </div>
      </div>
      <!-- engine start -->
      <div class="engine">
         <div class="container">
               <div class="row">
                  <div class="col-md-8 left">
                     <h2>LayaFlash 引擎</h2>
                     <div class="small" >让Flash技术变成开发HTML5产品的利器</div >
                     <div class="row list">
                           <div class="col-md-6 col-xs-12 item">
                              <div class="row">
                                 <div class="col-md-3">
                                       <img src="./images/index/lightning.png" class="img-responsive" alt="">
                                 </div>
                                 <div class="col-md-9">
                                       <h3>快速Flash产品转换</h3>
                                       <p>Flash页游\手游仅需1个人7天即可
                                          转换为HTML5和APP游戏</p>
                                 </div>
                              </div>
                           </div>  
                           <div class="col-md-6 col-xs-12 item">
                              <div class="row">
                                 <div class="col-md-3">
                                       <img src="./images/index/lightning.png" class="img-responsive" alt="">
                                 </div>
                                 <div class="col-md-9">
                                       <h3>快速Flash产品转换</h3>
                                       <p>Flash页游\手游仅需1个人7天即可
                                          转换为HTML5和APP游戏</p>
                                 </div>
                              </div>
                           </div>  
                           <div class="col-md-6 col-xs-12 item">
                              <div class="row">
                                 <div class="col-md-3">
                                       <img src="./images/index/lightning.png" class="img-responsive" alt="">
                                 </div>
                                 <div class="col-md-9">
                                       <h3>快速Flash产品转换</h3>
                                       <p>Flash页游\手游仅需1个人7天即可
                                          转换为HTML5和APP游戏</p>
                                 </div>
                              </div>
                           </div>  
                           <div class="col-md-6 col-xs-12 item">
                              <div class="row">
                                 <div class="col-md-3">
                                       <img src="./images/index/lightning.png" class="img-responsive" alt="">
                                 </div>
                                 <div class="col-md-9">
                                       <h3>快速Flash产品转换</h3>
                                       <p>Flash页游\手游仅需1个人7天即可
                                          转换为HTML5和APP游戏</p>
                                 </div>
                              </div>
                           </div>  
                     </div>
                  </div>
                  <div class="col-md-4 right">
                     <img src="./images/index/phone.jpg" alt="">
                  </div>
               </div>
            </div>
        </div>
      <!-- adv start -->
      <div class="adv">
         <div class="container">
               <div class="row">
                  <div class="col-md-4 left">
                     <img src="./images/index/trophy.jpg" alt="" class="img-responsive">
                  </div>
                  <div class="col-md-7 col-md-push-1 col-xs-12 right">
                     <h2>Layabox 优势</h2>
                     <div class="row list">
                           <div class="col-md-12 item">
                              <span class="img">
                                 <img src="./images/index/greenlightning.png" alt="">
                              </span>
                              <span>快速上手，Flash程序员3小时掌握HTML5开发</span>
                           </div>
                           <div class="col-md-12 item">
                              <span class="img">
                                 <img src="./images/index/greenlightning.png" alt="">
                              </span>
                              <span>快速上手，Flash程序员3小时掌握HTML5开发</span>
                           </div>
                           <div class="col-md-12 item">
                              <span class="img">
                                 <img src="./images/index/greenlightning.png" alt="">
                              </span>
                              <span>快速上手，Flash程序员3小时掌握HTML5开发</span>
                           </div>
                           <div class="col-md-12 item">
                              <span class="img">
                                 <img src="./images/index/greenlightning.png" alt="">
                              </span>
                              <span>快速上手，Flash程序员3小时掌握HTML5开发</span>
                           </div>
                     </div>
                  </div>
               </div> 
         </div>
      </div>
      <!-- family start -->
      <div class="family">
         <div class="container">
            <h2>Laybox产品家族</h2>
            <div class="row">
               <div class="left">
                  <div class="col-md-1 col-md-offset-1">
                     <img src="./images/index/air.png" alt="">
                  </div>
                  <div class="col-md-4 col-md-offset-1">
                     <h3>LayaAir</h3>
                     <p>核心库仅100K左右的新一代HTML5引擎，支
                           持AS3\TS\JS语言开发，支持2D\3D，非运行
                           器模式下性能媲美APP。
                     </p>
                  </div>
               </div>
               <div class="right ">
                     <div class="col-md-1 col-md-offset-1">
                        <img src="./images/index/air.png" alt="">
                     </div>
                     <div class="col-md-4 col-md-offset-1">
                        <h3>LayaAir</h3>
                        <p>核心库仅100K左右的新一代HTML5引擎，支
                              持AS3\TS\JS语言开发，支持2D\3D，非运行
                              器模式下性能媲美APP。
                        </p>
                     </div>
               </div>
               
               
            </div>
            <div class="row">
                  <div class="left">
                     <div class="col-md-1 col-md-offset-1">
                        <img src="./images/index/air.png" alt="">
                     </div>
                     <div class="col-md-4 col-md-offset-1">
                        <h3>LayaAir</h3>
                        <p>核心库仅100K左右的新一代HTML5引擎，支
                              持AS3\TS\JS语言开发，支持2D\3D，非运行
                              器模式下性能媲美APP。
                        </p>
                     </div>
                  </div>
                  <div class="right ">
                        <div class="col-md-1 col-md-offset-1">
                           <img src="./images/index/air.png" alt="">
                        </div>
                        <div class="col-md-4 col-md-offset-1">
                           <h3>LayaAir</h3>
                           <p>核心库仅100K左右的新一代HTML5引擎，支
                                 持AS3\TS\JS语言开发，支持2D\3D，非运行
                                 器模式下性能媲美APP。
                           </p>
                        </div>
                  </div>
                  
                  
               </div>
               <div class="row">
                     <div class="left">
                        <div class="col-md-1 col-md-offset-1">
                           <img src="./images/index/air.png" alt="">
                        </div>
                        <div class="col-md-4 col-md-offset-1">
                           <h3>LayaAir</h3>
                           <p>核心库仅100K左右的新一代HTML5引擎，支
                                 持AS3\TS\JS语言开发，支持2D\3D，非运行
                                 器模式下性能媲美APP。
                           </p>
                        </div>
                     </div>
                     <div class="right ">
                           <div class="col-md-1 col-md-offset-1">
                              <img src="./images/index/air.png" alt="">
                           </div>
                           <div class="col-md-4 col-md-offset-1">
                              <h3>LayaAir</h3>
                              <p>核心库仅100K左右的新一代HTML5引擎，支
                                    持AS3\TS\JS语言开发，支持2D\3D，非运行
                                    器模式下性能媲美APP。
                              </p>
                           </div>
                     </div>
                     
                     
                  </div>
         </div>
      </div>
      <!-- game start -->
      <div class="game">
         <div class="container">
            <div class="row">
               <h3 class="col-md-11">采用Layabox引擎的精彩游戏</h3>
               <a href="#" class="col-md-1">更多</a>
            </div>
            <div class="row bottom">
               <div class="col-md-5 left">
                  <img src="./images/index/video.png" class="img-responsive">
               </div>
               <div class="col-md-7 right">
                  <div class="row col-md-12">
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                  </div>
                  <div class="row col-md-12 last">
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                     <div class="col-md-2">
                        <img src="./images/index/game.jpg" class="img-responsive">
                        <span>猎刃2</span>
                     </div>
                  </div>
               </div>
            </div>
         </div>
         

      </div>
      <!-- partners start -->
      <div class="partners">
         <div class="container">
            <h3>合作伙伴<span>(排序不分先后)</span></h3>
         </div>
         <div class="row">
            <div class="container">
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2 last"><img src="./images/index/partner.jpg" alt=""></div>
            </div>
         </div>
         <div class="row bon">
            <div class="container">
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2"><img src="./images/index/partner.jpg" alt=""></div>
               <div class="col-md-2 last"><img src="./images/index/partner.jpg" alt=""></div>
            </div>
         </div>
      </div>
      <!-- footer start -->
      <div class="footer">
         <div class="container">
               <div class="row">
                  <div class="col-md-9 col-xs-12 left">
                     <nav>
                           <a href="">公司简介</a>
                           <a href="">公司简介</a>
                           <a href="">公司简介</a>
                     </nav>
                     <p>All Copyright Reserved by Layabox Inc. 京ICP备15008163号-1 </p>
                  </div>
                  <div class="col-md-3 col-xs-12 right">
                     <a  href="javascript:;" data-toggle="popover" data-placement="top"
                        class="email"></a>
                     <a href="javascript:;" data-toggle="popover" data-placement="top"  class="wx"></a>
                     <a href="javascript:;" class="qq"></a>
                  </div>
               </div>
         </div>
      </div>
   </div>
      <script>
         window.onload = function(){
                $('.wx').popover({
                    placement:"top",
                    html:true,
                    content:'<img src="images/common/e_code.jpg">'
                })
                $('#email').popover({
                    
                    html:true,
                    content:'<img src="images/common/e_code.jpg">',
                    placement:"top"
                })
                $('.qq').popover({
                    placement:"top",
                    html:true,
                    content:'<img src="images/common/e_code.jpg">'
                })
                $('[data-toggle="popover"]').on('shown.bs.popover',function(){
                    var _this = this;
                    setTimeout(function(){
                        $(_this).popover('hide');
                    },1000);
                });
            }
         $('.carousel').carousel({
            interval:6000,
            pause:null,
         });
      </script>
      <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
      <script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
      <script>
    (function($){
        $(window).on("load",function(){
            $("#content").mCustomScrollbar({
               axis:"y",
               scrollButtons:{enable:true},
               theme:"dark-thin",
               
            });
            console.log($("body"))
        });
    })(jQuery);

</script>
 </body>
 </html>